<!--<?php
print <<<EOT
-->

<!--Content Start-->
<table width="95%" border="0" align="center">
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td>
      <table width="70%" border="0" align="left" cellpadding="3" cellspacing="3">
        <tr>
          <td width="24%"></td>      
          <td width="24%"></td>      
          <td width="24%"></td>      
          <td width="24%"></td>
        </tr>
        <tr>      
          
<!--
EOT;
$index = 1;
for ($i=0; $i<count($out_ary); $i++) {
    $line =  ''; 
    if ($index>2 && $index%4 == 1) {
        $line =  '</tr><tr height="150">'; 
    }
print <<<EOT
-->
        $line
        <td width="24%" align="left" valign="middle"><div align="center"><a href="p_product.php?iid=$iid&cid={$out_ary[$i]['id']}"><img src="../zh/attachments/{$out_ary[$i]['pic']}" width="55" height="55" border="0"></a><br /><br /><span class="category_list">{$out_ary[$i]['name']}<!--<br>{$out_ary[$i]['description']}--></span></div></td>
        
<!--
EOT;
    $index++;
} 
print <<<EOT
--> 
      
      </tr>
      <!--tr height="30"><td><a href="p_product.php"><span class="inventory_list">List all product</span></a></td></tr-->
      </table>
      
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
  </tr>
</table>
<!--Content End-->

<!--
EOT;
?>-->